import React from "react"
// router
import {HashRouter as Router,Route,Link,Switch} from "react-router-dom"
import Login from "./login"
import Home from "./home"

function App(){
    return (
        <Router>
            <Switch>
                <Route path="/admin/login" component={Login}></Route>
                <Route path="/admin/" component={Home}></Route>
            </Switch>   
        </Router>
    )
}

export default App